#include <iostream>

using namespace std;

int main() {
    string s;
    while (cin >> s) {
        cout << s << ' ' ;
	}

    return 0;
}
